<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Let</title>
</head>
<body>

	<script type="text/javascript">

		// const foo;
		var a = 1
		let b = 1
		console.log(window.a)
		console.log(window.b)
		// var foo = 2

		// console.log(bar)
		// let bar = 2

		// tmp = 'abc'
		// console.log(tmp)

		// let tmp
		// console.log(tmp)

		// tmp = '123'
		// console.log(tmp)

	</script>
	
</body>
</html>